package com.asiainfo.dacp.datastash.orm;

import java.io.IOException;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.asiainfo.dacp.orm.helper.OrmBootHelper;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"/conf/spring/*.xml"})
public class DataStashOrmBoot {

	@Autowired
	private ApplicationContext applicationContext;

	@Test
	public void test() throws ClassNotFoundException, IOException{
		OrmBootHelper.initData(applicationContext);
	}
}
